package com.studentSystem.mapper;

import com.studentSystem.pojo.Grades;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GradesMapper {
    List<Grades> findByStudentId(Long studentId);

    List<Grades> findAll();

    void addGrade(Grades grades);

    Grades exiting(Long studentId, Long courseId);

    void updateGrade(Grades grades);

    void deleteGrade(Long studentId, Long courseId);
}
